import { getAll } from './api'

export const getCategories = async () => {
  const res = await getAll()
  return res.data
}
